//package com.antianbao.book;
//
//import javax.servlet.Filter;
//import javax.servlet.*;
//import javax.servlet.annotation.WebFilter;
//import java.io.IOException;
//
//@WebFilter(filterName = "FilterMessy",urlPatterns ={"/atb/*"} )
//public class FilterMessy implements Filter {
//    @Override
//    public void destroy() {
//    }
//    @Override
//    public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws ServletException, IOException {
//        req.setCharacterEncoding("UTF-8");
//        resp.setContentType("text/html;charset=UTF-8");
//        chain.doFilter(req, resp);
//    }
//    @Override
//    public void init(FilterConfig config) throws ServletException {
//
//    }
//
//}
